package com.htstar.ovms.enterprise.api.vo;

import com.alibaba.excel.annotation.ExcelIgnore;
import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ColumnWidth;
import com.alibaba.excel.annotation.write.style.ContentRowHeight;
import com.alibaba.excel.annotation.write.style.HeadRowHeight;
import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import java.time.LocalDateTime;

@Data
@ContentRowHeight(15)
@HeadRowHeight(20)
@ColumnWidth(25)
public class CarFuelExcelVO {

    @ApiModelProperty(value = "企业名")
    @ExcelProperty(value = "企业")
    private String etpName;

    @ApiModelProperty(value = "车牌号")
    @ExcelProperty(value = "车牌号")
    private String licCode;

    @ApiModelProperty(value = " 项目状态 0:待提交 1:待审核 2:已存档")
    @ExcelIgnore
    private Integer itemStatus;

    @ExcelProperty(value = "状态")
    private String itemStatusName;

    @ApiModelProperty(value = "录入用户")
    @ExcelProperty(value = "记录人")
    private String username;

    @ApiModelProperty(value = "创建时间")
    @ExcelProperty(value = "创建时间")
    private String createTime;

    @ApiModelProperty(value = "加油时间", required = true)
    @ExcelProperty(value = "加油时间")
    private String fuelTime;

    @ApiModelProperty(value = "加油类型油号 0:0号,1:89 2:92 3:95 4:98", required = true)
    @ExcelProperty(value = "加油类型")
    private Integer fuelType;

    @ApiModelProperty(value = "单价", required = true)
    @ExcelProperty(value = "油品单价（元）")
    private Integer unitPrice;

    @ApiModelProperty(value = "加油站")
    @ExcelProperty(value = "加油站")
    private String fuelAddr;

    @ApiModelProperty(value = "加油费用", required = true)
    @ExcelProperty(value = "加油金额（元）")
    private Integer fuelMoney;

    @ApiModelProperty(value = "加油时公里数", required = true)
    @ExcelProperty(value = "加油时公里数")
    private Double instrMileage;

    @ApiModelProperty(value = "油卡Id")
    @ExcelProperty(value = "油卡")
    private Integer cardId;

    @ApiModelProperty(value = "加油司机")
    @ExcelProperty(value = "加油司机")
    private String fuelAdmin;

    @ApiModelProperty(value = " 用车记录号")
    @ExcelProperty(value = "用车记录编号")
    private Integer orderId;
}
